package com.zjbti.myapplication;

import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.util.Log;

public class MyReceiver extends BroadcastReceiver {

    @Override
    public void onReceive(Context context, Intent intent) {
        // TODO: This method is called when the BroadcastReceiver is receiving
        // an Intent broadcast.
        //接收到广播在这里处理
//        throw new UnsupportedOperationException("Not yet implemented");
        Log.d("MainActivity","onReceive:收到广播");
    }
}